package cn.yj.wx.pay.enrity;

import java.math.BigDecimal;

/**
 * 支付下单金额对象
 * @author 永健
 * @since 2021-09-22 18:48
 */
public class Amount {
    private BigDecimal total;

    public Amount(BigDecimal total) {
        this.total = total;
    }

    private String currency="CNY";

    public BigDecimal getTotal() {
        return total;
    }

    public Amount setTotal(BigDecimal total) {
        this.total = total;
        return this;
    }

    public String getCurrency() {
        return currency;
    }

    public Amount setCurrency(String currency) {
        this.currency = currency;
        return this;
    }
}
